-- GENERATED SPELL FOR [Darkfang Venomspitter] --


function spell0_4414(pUnit, Event) --@Toxic Spit,n/a--
pUnit:FullCastSpellOnTarget(7951,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4414', 2500, 1)
end

function Sorts_4414(pUnit, Event)
local choix_sorts_4414 = math.random(0, 0)
if choix_sorts_4414 == 0 then
pUnit:RegisterEvent('spell0_4414', 1, 1)
end
end

function mob4414_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4414', math.random(1500, 3000), 1)
end

function mob4414_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4414_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4414_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4414, 1, 'mob4414_Action')
RegisterUnitEvent(4414, 2, 'mob4414_Leave')
RegisterUnitEvent(4414, 3, 'mob4414_Kill')
RegisterUnitEvent(4414, 4, 'mob4414_Die')
